package com.guli.staservice.client;

import com.guli.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName: UcenterClient 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2021/3/31 16:39
 * @Version: v1.0
 */
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {

    //查询某一天注册人数
    @GetMapping("/educenter/member/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);

}
